package com.java.entity;

import java.io.Serializable;

public class Answer implements Serializable {
    private Integer answerId;

    private Integer answerQuestionOptionId;

    private String answerText;

    private Integer userId;

    private Integer questionId;

    private Integer paperId;

    private static final long serialVersionUID = 1L;

    public Integer getAnswerId() {
        return answerId;
    }

    public void setAnswerId(Integer answerId) {
        this.answerId = answerId;
    }

    public Integer getAnswerQuestionOptionId() {
        return answerQuestionOptionId;
    }

    public void setAnswerQuestionOptionId(Integer answerQuestionOptionId) {
        this.answerQuestionOptionId = answerQuestionOptionId;
    }

    public String getAnswerText() {
        return answerText;
    }

    public void setAnswerText(String answerText) {
        this.answerText = answerText == null ? null : answerText.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getQuestionId() {
        return questionId;
    }

    public void setQuestionId(Integer questionId) {
        this.questionId = questionId;
    }

    public Integer getPaperId() {
        return paperId;
    }

    public void setPaperId(Integer paperId) {
        this.paperId = paperId;
    }
}